﻿using MediatR;
using System.ComponentModel.DataAnnotations;

namespace W.Carrier.Api.Application.Command
{
    public class CarrierCreateCommand:IRequest<int>
    {
        /// <summary>
        /// 承运商Id
        /// </summary>
        public int CarrierId { get; set; }
        /// <summary>
        /// 承运商编号
        /// </summary>
        public string CarrierNo { get; set; }
        /// <summary>
        /// 承运商名称
        /// </summary>
        public string CarrierName { get; set; }
        /// <summary>
        /// 承运商备注
        /// </summary>
        public string? CarrierRemarks { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        public string? officeId { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? userid { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? IsDelete { get; set; }
    }
}
